﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;
namespace Models
{
    /// <summary>
    /// 附件表
    /// </summary>
    [Table("Base_File")]
    public class FileModel
    {
        /// <summary>
        /// 
        /// </summary>
        [Column("Id")]
        [Description("")]
        public Guid Id { get; set; }

        /// <summary>
        /// 存储名称
        /// </summary>
        [Column("FileName")]
        [Description("存储名称")]
        public string FileName { get; set; }

        /// <summary>
        /// 原始名称
        /// </summary>
        [Column("RealName")]
        [Description("原始名称")]
        public string RealName { get; set; }

        /// <summary>
        /// 文件类型
        /// </summary>
        [Column("FileType")]
        [Description("文件类型")]
        public string FileType { get; set; }

        /// <summary>
        /// 文件地址
        /// </summary>
        [Column("FilePath")]
        [Description("文件地址")]
        public string FilePath { get; set; }

        /// <summary>
        /// 上传时间
        /// </summary>
        [Column("CreateTime")]
        [Description("上传时间")]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Column("CreateUserId")]
        [Description("")]
        public string CreateUserId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Column("CreateUserName")]
        [Description("")]
        public string CreateUserName { get; set; }

        /// <summary>
        /// 所属数据名称
        /// </summary>
        [Column("RecId")]
        [Description("所属数据名称")]
        public string RecId { get; set; }

    }
}
